//
//  ErrorResponse.swift
//  SwiftSign
//
//  Created by continue on 2021/8/19.
//

import UIKit
import ObjectMapper

struct ErrorResponse: Mappable {
    
    var code: Int?
    var state: Int?
    var message: String?
    
    init?(map: Map) {}
    init() {}

    mutating func mapping(map: Map) {
        message <- map["message"]
        code <- map["code"]
        state <- map["state"]
    }
}
